package edu.je.prs.Controller;

import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @author: Anhlaidh
 * @date: 2021-03-17 16:20
 */
@RestController
public class UtilController {
//    @Autowired
//    SkillUtils skillUtilsService;
//    HashMap<String, String> message = new HashMap<>();
//
//    @RequestMapping(value = "/PostAllFrequency",method = RequestMethod.POST)
//    public String getMap(HttpServletResponse response) {
//        HashMap<String, Integer> map = skillUtilsService.getAllFrequency();
//        message.put("message", "success");
//        message.put("code", "200");
//        response.setHeader("access-control-allow-origin","*");
//
//        String s = JSON.toJSONString(map);
//        message.put("PostFrequency", s);
//        return JSON.toJSONString(message);
//    }
//

}
